package com.woniuxy.cloud.carl.order.infra.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 服务商品关联表
 * </p>
 *
 * @author Lucas
 * @since 2023-07-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_service_spu")
public class ServiceSpu implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 服务商品关联表id
     */
    @TableId(value = "service_spu_id", type = IdType.AUTO)
    private Long serviceSpuId;

    /**
     * 服务id
     */
    private Long serviceId;

    /**
     * 默认skuId
     */
    private Long skuId;

    /**
     * 数量
     */
    private Integer skuCount;


}
